JBoss Community Archive (Read Only)

GateIn Portal 3.7

Email Service Configuration

GateIn Portal 3.7 includes an email sending service that needs to be configured before it can function properly. This service, for instance, is used to send emails to users who forgot their password or username.

Configure the outgoing email account

The email service can use any SMTP account configured in:

  • For JBoss: $JBOSS_HOME/standalone/configuration/gatein/configuration.properties

  • For Tomcat: $TOMCAT_HOME/gatein/conf/configuration.properties
    The relevant section looks like:

# EMail
gatein.email.smtp.username=
gatein.email.smtp.password=
gatein.email.smtp.host=smtp.gmail.com
gatein.email.smtp.port=465
gatein.email.smtp.starttls.enable=true
gatein.email.smtp.auth=true
gatein.email.smtp.socketFactory.port=465
gatein.email.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory

It is preconfigured for GMail, so that any GMail account can easily be used. Simply insert your password and full GMail address.

In corporate environments, if you want to use your corporate SMTP gateway over SSL, like in the default configuration, configure a certificate truststore containing your SMTP server's public certificate. Depending on the key sizes, you may then also need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your Java Runtime Environment.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 13:09:58 UTC, last content change 2013-06-03 08:48:38 UTC.